Skip to content

Conversation

@SebastianKrupinski
Copy link
Contributor

@SebastianKrupinski SebastianKrupinski commented Jan 6, 2026

Summary

  • Adjusted proposal logic to delete existing time blocker to prevent duplicate uid error
"message": "Calendar object with uid already exists in this calendar collection.",
    "exception": "{\"class\":\"Sabre\\DAV\\Exception\\BadRequest\",\"message\":\"Calendar object with uid already exists in this calendar collection.\",\"code\":0,\"file\":\"/var/www/nextcloud/master/apps/dav/lib/CalDAV/CalDavBackend.php:1370\",\"trace\":\"#0 /var/www/nextcloud/master/lib/public/AppFramework/Db/TTransactional.php(45): OCA\\DAV\\CalDAV\\CalDavBackend->OCA\\DAV\\CalDAV\\{closure}()\\n#1 /var/www/nextcloud/master/apps/dav/lib/CalDAV/CalDavBackend.php(1356): OCA\\DAV\\CalDAV\\CalDavBackend->atomic()\\n#2 /var/www/nextcloud/master/3rdparty/sabre/dav/lib/CalDAV/Calendar.php(199): OCA\\DAV\\CalDAV\\CalDavBackend->createCalendarObject()\\n#3 /var/www/nextcloud/master/3rdparty/sabre/dav/lib/DAV/Server.php(1098): Sabre\\CalDAV\\Calendar->createFile()\\n#4 /var/www/nextcloud/master/apps/dav/lib/CalDAV/CalendarImpl.php(203): Sabre\\DAV\\Server->createFile()\\n#5 /var/www/nextcloud/master/apps/dav/lib/CalDAV/CalendarImpl.php(213): OCA\\DAV\\CalDAV\\CalendarImpl->createFromStringInServer()\\n#6 /var/www/nextcloud/master/apps/calendar/lib/Service/Proposal/ProposalService.php(366): OCA\\DAV\\CalDAV\\CalendarImpl->createFromString()\\n#7 /var/www/nextcloud/master/apps/calendar/lib/Controller/ProposalController.php(194): OCA\\Calendar\\Service\\Proposal\\ProposalService->convertProposal()\\n#8 /var/www/nextcloud/master/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\\Calendar\\Controller\\ProposalController->convert()\\n#9 /var/www/nextcloud/master/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#10 /var/www/nextcloud/master/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#11 /var/www/nextcloud/master/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#12 /var/www/nextcloud/master/ocs/v1.php(61): OC\\Route\\Router->match()\\n#13 /var/www/nextcloud/master/ocs/v2.php(8): require_once('...')\\n#14 {main}\"}",
    "CustomMessage": "Calendar object with uid already exists in this calendar collection."

Testing

  • Create meeting proposal with at least one attendee and one date (this will create a time blocker in the calendar)
  • After proposal is created convert one of the date to a meeting (does not require a vote) the conversion should fail with a error without this PR

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@codecov
Copy link

codecov bot commented Jan 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Contributor

@GVodyanov GVodyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SebastianKrupinski
Copy link
Contributor Author

/backport to stable6.1

@backportbot backportbot bot added the backport-request A backport was requested for this pull request label Jan 15, 2026
@SebastianKrupinski SebastianKrupinski merged commit fbcc51b into main Jan 15, 2026
40 checks passed
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 💌 📅 👥 Groupware team Jan 15, 2026
@SebastianKrupinski SebastianKrupinski deleted the fix/meeting-proposal-object-exists branch January 15, 2026 13:05
@backportbot backportbot bot removed the backport-request A backport was requested for this pull request label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

Development

Successfully merging this pull request may close these issues.

3 participants